﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface IBranch
    {
        [OperationContract]
        IEnumerable<CM_BRANCH> GetByAllBranch();

        [OperationContract]
        String InsertBranch(CM_BRANCH data);

        [OperationContract]
        String UpdateBranch(CM_BRANCH data);

        [OperationContract]
        String DeleteBranch(string id);

        [OperationContract]
        IEnumerable<CM_BRANCH> GetByTopBranch(string _top, string _where, string _order);

        [OperationContract]
        String ApproveBranch(CM_BRANCH data);
    }
}